package com.dgw.springbootmail.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.mail.javamail.JavaMailSender;

/**
 * @program: springboot-sendmail
 * @description:
 * @author: Mr.Dai
 * @create: 2020-02-29 21:44
 **/
public abstract class IMailConfig {
    @Value("${mail.fromMail.sender}")
    public String sender;

    @Value("${mail.fromMail.receiver}")
    public String receiver;

    @Autowired
    public JavaMailSender javaMailSender;
}
